package org.jeecg.modules.system.entity;

import lombok.Builder;
import lombok.Data;

@Data
public class UserPostDepartVo {
//    select
//    sp.id  postId,
//    sp.name post,
//    su.id userId,
//    su.realname realname,
//    su.work_no,
//    GROUP_CONCAT(sd.id) departId,
//    GROUP_CONCAT(sd.depart_name) departName
//    from
//    sys_user su
//    left join sys_user_post sup on sup.USER_ID = su.id
//    left join sys_position sp on sp.id = sup.POST_ID
//    left join sys_user_depart sud on sud.user_id = su.id
//    left join sys_depart sd on sd.id = sud.dep_id

    private String userId;
    private String realname;
    private String username;
    private String workNo;
    private String postId;
    private String post;
    private String phone;
    private String selecteddeparts;
    private String departName;
    private Integer pageNo;
    private Integer pageSize;
    private String password;
}
